package com.selangshiwo.sina.requst;

import java.util.Date;

public class PreLoginRequestPack extends RequestPack implements IRequestPack{
	
	public PreLoginRequestPack(){
		super("get",REQUEST_URL.PRELOGIN.toStringWithVersion());
	}
	
	public void setUserName(String suVal) {
		this.setParam("su", suVal);
	}
	
	//设置默认参数
	public void setDefaultParams(){
		//entry=sso&callback=&su=dW5kZWZpbmVk&client="+SSOVERSION 
		this.setParam("entry", "sso");
		this.setParam("callback", "sinaSSOController.preloginCallBack") ;
		this.setParam("_", new Date().getTime() + "") ;
	}

	
}
